﻿<Page:BasePage
    xmlns:Page="clr-namespace:Tfs.OnTheRoad.Pages"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Controls="clr-namespace:Tfs.OnTheRoad.Controls"
    xmlns:converters="clr-namespace:Tfs.OnTheRoad.Converters"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="696"
	x:Class="Tfs_OnTheRoad.AboutPage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	SupportedOrientations="Portrait" Orientation="Portrait"
	shell:SystemTray.IsVisible="True"  ApplicationBarButtons="Back" >
    <!--Enabling Page Transitions-->
    <toolkit:TransitionService.NavigationInTransition>
        <toolkit:NavigationInTransition>
            <toolkit:NavigationInTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardIn"/>
            </toolkit:NavigationInTransition.Backward>
            <toolkit:NavigationInTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardIn"/>
            </toolkit:NavigationInTransition.Forward>
        </toolkit:NavigationInTransition>
    </toolkit:TransitionService.NavigationInTransition>
    <toolkit:TransitionService.NavigationOutTransition>
        <toolkit:NavigationOutTransition>
            <toolkit:NavigationOutTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardOut"/>
            </toolkit:NavigationOutTransition.Backward>
            <toolkit:NavigationOutTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardOut"/>
            </toolkit:NavigationOutTransition.Forward>
        </toolkit:NavigationOutTransition>
    </toolkit:TransitionService.NavigationOutTransition>
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Margin="10,40,0,10" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Right">
            <TextBlock FontFamily="Segoe WP" TextAlignment="Right" FontSize="24" VerticalAlignment="Center">Version</TextBlock>
            <TextBlock Margin="10" x:Name="Version" Foreground="{StaticResource PhoneAccentBrush}" FontFamily="Segoe WP" TextAlignment="Right" FontSize="38">X.X.X.X</TextBlock>
        </StackPanel>
        <Controls:HeaderControl Grid.Row="0" ProfileNameVisibility="Collapsed"
             NavigationPath="Who made it?" HeaderTitle="About"></Controls:HeaderControl>       
        <StackPanel Grid.Row="1">
            <TextBlock FontWeight="Bold" TextWrapping="Wrap">
                This App would not exist without TFS OData Services.
                Thanks Microsoft to provide us that!</TextBlock>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Image Grid.Column="0" Source="/Images/Me.jpg" Width="170"></Image>
                <StackPanel Grid.Column="1" Margin="5">
                    <TextBlock FontWeight="Bold" Foreground="{StaticResource PhoneAccentBrush}">Pedro Castelo Branco Lourenço</TextBlock>
                    <StackPanel Orientation="Horizontal" Background="{StaticResource PhoneAccentBrush}">
                        <Image Margin="-8" Source="/Images/appbar.edit.rest.png"></Image>
                        <HyperlinkButton Foreground="{StaticResource PhoneForegroundBrush}" FontSize="19" NavigateUri="http://www.pcbl.de" TargetName="_blank"  Content="My Blog: www.pcbl.de"></HyperlinkButton>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Background="{StaticResource PhoneAccentBrush}">
                        <Image Margin="-8" Source="/Images/appbar.favs.rest.png"></Image>
                        <HyperlinkButton Foreground="{StaticResource PhoneForegroundBrush}" FontSize="19" NavigateUri="http://pcbl.de/tfs-on-the-road/" TargetName="_blank" Content="www.pcbl.de/tfs-on-the-road/"></HyperlinkButton>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Margin="5">
                        <Image Margin="10" Source="/Images/BrazilFlag.png" Width="80"></Image>
                        <Image Margin="10" Source="/Images/GermanyFlag.png" Width="80"></Image>
                        <Image Margin="5" Source="/Images/beerIcon.png" Width="80"></Image>
                    </StackPanel>
                </StackPanel>
            </Grid>
            <ScrollViewer Margin="10,0,0,0">
                <StackPanel>
                    <TextBlock TextWrapping="Wrap" Foreground="{StaticResource PhoneAccentBrush}" >
                Pedro is a developer that likes technical communities like MSDN and the people surrounding it.
            </TextBlock>
            <TextBlock TextWrapping="Wrap">
                Global Technology Program Manager at Savcor, He is a Brazilian that since Nov. 2008 is working and living on South of Germany.
                Recognized by Microsoft as MVP for 2 years(2008 and 2009), he really likes to be in touch with the community.
            </TextBlock>
                    <TextBlock TextWrapping="Wrap" FontWeight="Bold" Foreground="{StaticResource PhoneAccentBrush}">
                        This application is one small contribution to the community!
                Your feedback will be well-received! If you enjoyed this app, let other people know about it!</TextBlock>
                </StackPanel>
            </ScrollViewer>
        </StackPanel>
    </Grid>
</Page:BasePage>